﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" Src="~/_controltemplates/ButtonSection.ascx" %>

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewUser.aspx.cs" Inherits="SoftwareDiscipline.SharePoint.UserManagement.ApplicationPages.NewUserPage"
    DynamicMasterPageFile="~masterurl/default.master" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
    <SharePoint:CssLink runat="server" DefaultUrl="forms.css" />
</asp:Content>
<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <table width="100%" class="propertysheet" cellspacing="0" cellpadding="0" border="0">
        <tr>
            <td class="ms-descriptionText">
                <asp:Label ID="LabelMessage" runat="server" EnableViewState="False" class="ms-descriptionText" />
            </td>
        </tr>
        <tr>
            <td class="ms-error">
                <asp:Label ID="LabelErrorMessage" runat="server" EnableViewState="False" />
            </td>
        </tr>
    </table>
    <table class="ms-formtable" style="margin-top: 8px;" border="0" cellpadding="0" cellspacing="0"
        width="100%">
        <tr>
            <td nowrap="true" valign="top" width="190px" class="ms-formlabel">
                <h3 class="ms-standardheader">
                    <asp:Literal runat="server" Text="<%$Resources:swusrmgmt, NewUser_UserName_Title %>" /><span
                        class="ms-formvalidation">*</span>
                </h3>
            </td>
            <td valign="top" class="ms-formbody">
                <asp:TextBox runat="server" ID="textUserName" Columns="45" ValidationGroup="SubmitDialog" />
                <SharePoint:InputFormRequiredFieldValidator ID="textUserNameRequired" runat="server"
                    ControlToValidate="textUserName" ValidationGroup="SubmitDialog" SetFocusOnError="true">*</SharePoint:InputFormRequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td nowrap="true" valign="top" width="190px" class="ms-formlabel">
                <h3 class="ms-standardheader">
                    <asp:Literal runat="server" Text="<%$Resources:swusrmgmt, NewUser_Email_Title %>" /><span
                        class="ms-formvalidation">*</span>
                </h3>
            </td>
            <td valign="top" class="ms-formbody">
                <asp:TextBox runat="server" ID="textEmailAddress" Columns="45" ValidationGroup="SubmitDialog" />
                <SharePoint:InputFormRequiredFieldValidator ID="textEmailAddressRequired" runat="server"
                    ControlToValidate="textEmailAddress" ValidationGroup="SubmitDialog" SetFocusOnError="true">*</SharePoint:InputFormRequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td nowrap="true" valign="top" width="190px" class="ms-formlabel">
                <h3 class="ms-standardheader">
                    <asp:Literal runat="server" Text="<%$Resources:swusrmgmt, NewUser_Password_Title %>" /><span
                        class="ms-formvalidation">*</span>
                </h3>
            </td>
            <td valign="top" class="ms-formbody">
                <asp:TextBox runat="server" ID="textPassword" Columns="45" ValidationGroup="SubmitDialog" TextMode="Password" />
                <SharePoint:InputFormRequiredFieldValidator ID="ttextPasswordRequired" runat="server"
                    ControlToValidate="textPassword" ValidationGroup="SubmitDialog" SetFocusOnError="true">*</SharePoint:InputFormRequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td nowrap="true" valign="top" width="190px" class="ms-formlabel">
                <h3 class="ms-standardheader">
                    <asp:Literal runat="server" Text="<%$Resources:swusrmgmt, NewUser_ConfirmPassword_Title %>" /><span
                        class="ms-formvalidation">*</span>
                </h3>
            </td>
            <td valign="top" class="ms-formbody">
                <asp:TextBox runat="server" ID="textConfirmPassword" Columns="45" ValidationGroup="SubmitDialog" TextMode="Password" />
                <SharePoint:InputFormRequiredFieldValidator ID="textConfirmPasswordRequired" runat="server"
                    ControlToValidate="textConfirmPassword" ValidationGroup="SubmitDialog" SetFocusOnError="true">*</SharePoint:InputFormRequiredFieldValidator>
            </td>
        </tr>
    </table>
    <wssuc:buttonsection runat="server">
        <template_buttons>
                <asp:Button UseSubmitBehavior="false" runat="server" class="ms-ButtonHeightWidth" Text="<%$Resources:wss,multipages_okbutton_text%>" id="BtnOK" OnClick="btnOK_Click" accesskey="<%$Resources:wss,okbutton_accesskey%>" ValidationGroup="SubmitDialog"/>
            </template_buttons>
    </wssuc:buttonsection>
</asp:Content>
<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    <asp:Literal runat="server" Text="<%$Resources:swusrmgmt, NewUser_PageTitle %>" />
</asp:Content>
<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea"
    runat="server">
    <asp:Literal runat="server" Text="<%$Resources:swusrmgmt, NewUser_PageTitle %>" />
</asp:Content>
